package com.example.adapter;

/**
 * @version 1.0.0
 * @className: TestAdapter
 * @description:
 * @author: rosszhang
 * @date: 2022/5/13 11:00
 */
public class TestAdapter {
    public static void main(String[] args) {
        Phone phone = new Phone();
        VoltageAdapter adapter = new VoltageAdapter();
        phone.setAdapter(adapter);
        phone.change();
    }
}
